package main

import "fmt"

type FuncType func(int, int) int

func Add(a int, b int) int {
	return a + b
}

func Calc(a int, b int, fTest FuncType) (result int) {
	result = fTest(a, b)
	return 
}

func main() {
	ret := Calc(10, 20, Add) 
	fmt.Println("ret is:", ret)
}